/* = Post Type Listing
=============================================*/
.events-cal {
	.tablenav select[name=m],
	#post-query-submit {
		display: none;
	}
}

.fixed {
	.column-start-date,
	.column-end-date,
	.column-events-cats {
		width: 14%;
	}
}

#additional-field-table {
	input,
	select,
	textarea {
		width: 200px;
	}

	tbody tr {
		height: 72px;
	}
}

.tribe-restore-link + a {
	display: none;
}

/* = Post Type Editing
=============================================*/
.eventForm {
	margin-top: -20px;

	td {
		font-size: 12px;
		padding: 0 6px 10px 0;
		vertical-align: middle;
	}

	#event-meta {
		td {
			vertical-align: top;

			div {
				margin-bottom: 10px;

				&:last-child {
					margin-bottom: 20px;
				}
			}
		}
	}

	select,
	input,
	textarea {
		font-size: 11px;
	}

	textarea {
		width: 100%;
	}

	h4 {
		font-size: 1.2em;
		margin: 1em 0 1em;

		&.event-time {
			margin-top: 0;
		}
	}

	.tribe_sectionheader {
		padding-bottom: 5px !important;
	}

	p {
		margin: 0 0 10px 0!important;
	}
}

.tribe-community-event-info {
	width: 100%;
	margin: 10px;
}

.eventtable,
#EventInfo {
	width: 100%;
	margin: 0;
	padding-top: 0;
}

#event_tickets,
.eventtable.ticket_list.eventForm {
	table-layout: fixed;
}

#ticket_start_date,
#ticket_end_date {
	width: 100px;
}

.form-table form input {
	border: none;
}

#submitLabel {
	display: block;

	input {
		display: block;
		padding: 0;
	}
}

#EventBriteDetailDiv h4,
.tribe-community-event-info h4,
.eventForm .tribe_sectionheader h4 {
	padding-bottom: 6px;
	text-transform: uppercase;
	border-bottom: 1px solid #e5e5e5;
}

.tribe-events-error {
	display: none;
}

.tribe-events-multi-event-day {
	color: #0f81bb;
}

.ui-front {
	z-index: 1000000;
}

.events-cal .ui-widget-overlay.ui-front {
	z-index: 90;
}

.edit-linked-post-link {
	display: inline-block;
	margin-left: 10px;
}

.linked-post-wrapper {
	tbody + tbody tr.saved_linked-post td,
	tbody + tfoot tr td {
		margin-top: 1em;
		padding-top: 1em;
		border-top: 1px solid #e5e5e5;
	}

	.linked-post td:first-child {
		padding-left: 30px;
	}
}

.move-linked-post-group {
	padding-right: .5em;
	cursor: move;
}

.delete-linked-post-group {
	float: right;
	color: #444;

	&:hover {
		color: #a00;
	}
}

.tribe_community_edit {
	.edit-linked-post-link,
	.edit-linked-post-link {
		display: none !important;
	}
}

.tribe-linked-post-error.error {
	display: inline;
	margin-left: 5px;
	padding: 5px 10px;
}

/* = Eventbrite
=============================================*/
.tribe-community-event-info small,
#EventBriteDetailDiv small {
	font-size: 10px;
	color: #a3a3a3;
}

#eventBriteTicketing,
#mainDonateRow {
	margin: -11px 6px 0;
	padding: 10px 15px;
	border: 1px solid #e2e2e2;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topright: 0;
	 -khtml-border-radius: 3px;
	background: url(../images/bg_fade.png) repeat-x top left;
	background-color: #fff;
}

#eventBriteTicketing h2 {
	height: 80px;
	margin: 0;
	background: url(../images/eb_press_little.gif) no-repeat top right;
}

.tribe-community-event-info,
table.eventForm {
	width: 100%;
}

/* = Recurrence
=============================================*/
#custom-recurrence-weeks label {
	display: block;
	float: left;
	width: 45px;
	margin-bottom: 3px;
}

#custom-recurrence-frequency input {
	width: 30px;
}

#custom-recurrence-years label {
	display: block;
	float: left;
	width: 50px;
	margin-bottom: 3px;
}

#recurrence-changed-row {
	display: none;
	color: red;
}

#rec-end-error {
	color: red;
}

#rec-days-error {
	color: red;
}

.rec-error {
	display: none;
}

#recurrence-pattern-description {
	font-style: italic;
}

.recurrence-pattern-description-row {
	display: none;
}

/* = Chosen
=============================================*/
.chosen,
.tribe-chosen,
.chzn-container {
	margin-right: 10px!important;
}

.linked-post-dropdown,
.venue-dropdown,
.organizer-dropdown,
.events-dropdown,
#eventsDefaultState,
#defaultCountry,
#StateProvinceSelect {
	width: 220px !important;
}

.multi-day-cutoff-dropdown {
	width: 100px !important;
}

/* fix for widgets + chosen support */
.widget-liquid-right .widget,
.inactive-sidebar .widget,
.widget-liquid-right .sidebar-description {
	overflow: visible !important;
}

.tribe-aggregator-import-details {
	overflow: hidden;

	dt {
		clear: left;
		float: left;
		margin-right: .25rem;
	}

	dd {
		margin-left: 0;
	}

	.tribe-value {
		font-weight: bold;
	}
}

.tribe-ea-facebook-disconnect {
	color: #a00;
	display: inline-block;
	margin-left: 1rem;

	&:active,
	&:hover {
		color: #f00;
	}
}

.tribe-ea-facebook-button {
	background: #3d599b;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	padding: .5rem 1.5rem;
	text-decoration: none;
	transition: background-color 0.5s ease;

	&:active,
	&:hover {
		background: #32497e;
		color: #fff;
		cursor: pointer;
	}
}

/* = Event Aggregator Status
=============================================*/

.event-aggregator-status {
	background-color: #fff;
	width: 100%;
	border: 2px solid #e4e5e6;
	border-spacing: 0;
	margin-bottom: 16px;

	tbody tr:nth-child(even) td {
		background-color: #f9f9f9;
	}

	th {
		text-align: left;
		border-bottom: 1px solid #e4e5e6;
	}

	th, td {
		padding: 8px 12px;
		background-color: #fff;
	}

	td.label {
		width: 220px;
		/* @todo: responsive breakpoint? */
	}

	td.label img {
		width: 18px;
		height: 18px;
		margin-right: 6px;
		float: left;
	}

	td.indicator {
		width: 20px;
	}

	td.indicator.good {
		color: #38b042;
	}

	td.indicator.bad {
		color: #ed5047;
	}

	td.indicator.warning {
		color: #f3ae46;
	}
}